package com.tenny.bookstore.dao.base;

import com.tenny.bookstore.bean.Book;

/**
 * Created by Tenney on 2017/3/16.
 */
public interface BaseDao<T> {
    java.util.List<Book> findAll();
    void save(T t);
    T findById(String id);
    void  deleteById(String id);
    void update(T t);
}
